package com.design.patterns.factorymethod;

import com.design.patterns.simplefactory.AbstractPay;
import com.design.patterns.simplefactory.CardPay;

/**
 * @author jack
 * @version 1.0
 * @Package com.design.patterns.factorymethod
 * @Description: 工厂设计模式银行卡支付
 * @date 2021/6/9  21:07
 */
public   class CardPayFactory extends  PayFactory {

    @Override
    public AbstractPay getPayMethod() {
        return new CardPay();
    }
}
